package org.songyc5.feignclient.fein;

import org.songyc5.feignclient.model.Book;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;


/**
 * Created by songyc5 on 18/02/2018
 */
@FeignClient("feign-client")
public interface BookServiceFeignClient {

    @GetMapping("/get/book")
    Book getBook();
}
